import { defineStore } from 'pinia';

export const useBasemapStore = defineStore('basemap', {
  state: () => ({
    basemap: {},
    mapRef: null
  }),
  actions: {
    setBasemap(map) {
      this.basemap = map;
    },
    setMapRef(mapRef) {
      this.mapRef = mapRef;
    }
  }
});